#ifndef VSOUNDS_H
#define VSOUNDS_H

#include    <QPushButton>
#include    <QLabel>
#include    <QFileDialog>

#include    "../Controlers/CSounds.h"
#include    "../Controlers/CDesign.h"

class   VSounds : public  QWidget
{
    Q_OBJECT

private:
    int clicked_play;
    int clicked_mute;

public:
    QPushButton *play_button;
    QPushButton *stop_button;
    QPushButton *mute_button;
    QPushButton *browse_button;
    QLabel      *label_slider_sound_less;
    QLabel      *label_slider_sound_more;
    QLabel      *window;
    QFileDialog *file;
    Phonon::VolumeSlider    *volume_slider;
    Phonon::SeekSlider  *seek_slider;
    VSounds();
    ~VSounds();

public slots:
    void    play_pause();
    void    stop();
    void    mute();
    void    update_background_volume(qreal volume);
    void    open_file();
};

#endif
